// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.ast.SQLStatement;
// import com.alibaba.druid.sql.dialect.sqlserver.ast.SQLServerStatement;
// import com.alibaba.druid.sql.dialect.sqlserver.ast.SQLServerStatementImpl;
// import com.alibaba.druid.sql.dialect.sqlserver.visitor.SQLServerASTVisitor;

#include "SQLServerWaitForStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../../../ast/SQLStatement.h"
#include "../../visitor/SQLServerASTVisitor.h"

// @Override
void SQLServerWaitForStatement::accept0(SQLServerASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(SQLServerWaitForStatement)))
  {
    acceptChild(visitor, delay);
    acceptChild(visitor, time);
    acceptChild(visitor, statement);
    acceptChild(visitor, timeout);
  }
  visitor->endVisit(SharedObject(SQLServerWaitForStatement));
}

SQLExpr_ptr SQLServerWaitForStatement::getDelay()
{
  return delay;
}

void SQLServerWaitForStatement::setDelay(SQLExpr_ptr delay)
{
  this->delay = delay;
}

SQLExpr_ptr SQLServerWaitForStatement::getTime()
{
  return time;
}

void SQLServerWaitForStatement::setTime(SQLExpr_ptr time)
{
  this->time = time;
}

SQLStatement_ptr SQLServerWaitForStatement::getStatement()
{
  return statement;
}

void SQLServerWaitForStatement::setStatement(SQLStatement_ptr statement)
{
  this->statement = statement;
}

SQLExpr_ptr SQLServerWaitForStatement::getTimeout()
{
  return timeout;
}

void SQLServerWaitForStatement::setTimeout(SQLExpr_ptr timeout)
{
  this->timeout = timeout;
}
